package com.ruoyi.teach.domain;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 教材章节对象 teach_book_node
 * 
 * @author yepanpan
 * @date 2021-03-15
 */

@ApiModel("教材章节实体")
@Data
public class TeachBookNode extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 教材 */
    @Excel(name = "教材")
    @ApiModelProperty("教材")
    private Long bookId;

    /** 章节名 */
    @Excel(name = "章节名")
    @ApiModelProperty("章节名")
    private String title;

    /** 上级 */
    @Excel(name = "上级")
    @ApiModelProperty("上级")
    private Long pid;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Long listSort;

    /** 章节说明 */
    @ApiModelProperty("排序")
    private String comment;


}
